github.com/jackc/pgx/v5.sqlLexer.pos (field)
63 uses
github.com/jackc/pgx/v5 (current package)
named_args.go#L157: pos int
named_args.go#L211: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L212: l.pos += width
named_args.go#L216: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L218: l.pos += width
named_args.go#L226: nextRune, _ := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L228: if l.pos-l.start > 0 {
named_args.go#L229: l.parts = append(l.parts, l.src[l.start:l.pos-width])
named_args.go#L231: l.start = l.pos
named_args.go#L235: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L237: l.pos += width
named_args.go#L241: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L243: l.pos += width
named_args.go#L247: if l.pos-l.start > 0 {
named_args.go#L248: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L249: l.start = l.pos
named_args.go#L262: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L263: l.pos += width
named_args.go#L266: if l.pos-l.start > 0 {
named_args.go#L267: na := namedArg(l.src[l.start:l.pos])
named_args.go#L272: l.start = l.pos
named_args.go#L276: l.pos -= width
named_args.go#L277: na := namedArg(l.src[l.start:l.pos])
named_args.go#L282: l.start = l.pos
named_args.go#L290: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L291: l.pos += width
named_args.go#L295: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L299: l.pos += width
named_args.go#L301: if l.pos-l.start > 0 {
named_args.go#L302: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L303: l.start = l.pos
named_args.go#L312: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L313: l.pos += width
named_args.go#L317: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L321: l.pos += width
named_args.go#L323: if l.pos-l.start > 0 {
named_args.go#L324: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L325: l.start = l.pos
named_args.go#L334: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L335: l.pos += width
named_args.go#L339: _, width = utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L340: l.pos += width
named_args.go#L342: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L346: l.pos += width
named_args.go#L348: if l.pos-l.start > 0 {
named_args.go#L349: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L350: l.start = l.pos
named_args.go#L359: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L360: l.pos += width
named_args.go#L364: _, width = utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L365: l.pos += width
named_args.go#L369: if l.pos-l.start > 0 {
named_args.go#L370: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L371: l.start = l.pos
named_args.go#L380: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L381: l.pos += width
named_args.go#L385: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L387: l.pos += width
named_args.go#L391: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L396: l.pos += width
named_args.go#L403: if l.pos-l.start > 0 {
named_args.go#L404: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L405: l.start = l.pos